JavaScript Type Snippets

The JavaScript snippet collection contains a wide variety of ES6 helper functions. It includes helpers for dealing with primitives, arrays and objects, as well as algorithms, DOM manipulation functions and Node.js utilities.

  • Value is symbol

    Checks if the given argument is a symbol.

    JavaScript, Type · Sep 15, 2020

  • Value is nil

    Checks if the specified value is null or undefined.

    JavaScript, Type · Oct 20, 2020

  • Value is null

    Checks if the specified value is null.

    JavaScript, Type · Oct 20, 2020

  • Value is undefined

    Checks if the specified value is undefined.

    JavaScript, Type · Oct 20, 2020