Nitrogenous Polymorphic Molecule

    43 packages found

    Description

    Isomorphic, functional type-checking for Javascript

    Keywords

    Publisher

    published 7.0.02 months ago
    M
    Q
    P

    Description

    A lightweight stream-like maybe/or else monad for typescript. `maybe(val).valueOr(other)` grant you no unexpected undefined and hence allows you to write you TS-code in a more fluid way, skipping some of those if-else nestings.

    Keywords

    Publisher

    published 1.3.0a month ago
    M
    Q
    P

    Description

    checks if foo is not defined, i.e. undefined, null, an empty string, array, object or NaN

    Keywords

    Publisher

    published 3.0.55 months ago
    M
    Q
    P

    Description

    ensures all required parameters are not null, or throws a useful error like 'phone is required'

    Keywords

    Publisher

    published 1.0.172 years ago
    M
    Q
    P

    Description

    Simple utility function for checking isDefined for complex objects with long property paths

    Keywords

    Publisher

    published 1.0.16 years ago
    M
    Q
    P

    Description

    A logic Utility. Nil is: null or undefined. Make writing node easier, prettier and less error prone. Writes and reads more like prose

    Keywords

    Publisher

    published 2.0.6a year ago
    M
    Q
    P

    Description

    Return the first defined item in an array

    Keywords

    Publisher

    published 1.0.0a month ago
    M
    Q
    P

    Description

    util for validation that object has defined props

    Keywords

    Publisher

    published 1.2.25 years ago
    M
    Q
    P

    Description

    Check if a variable in a nested object is defined and optionally also check its type. Useful for verifying API responses.

    Keywords

    Publisher

    published 1.2.1a year ago
    M
    Q
    P

    Description

    A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.

    Keywords

    Publisher

    published 1.0.16 years ago
    M
    Q
    P

    Description

    Finds the absolute filepath to the original sourcecode of any defined value

    Keywords

    Publisher

    published 1.0.13 years ago
    M
    Q
    P

    Description

    checks if your properties or values are defined

    Keywords

    Publisher

    published 2.4.22 years ago
    M
    Q
    P

    Description

    A utility function for extracting defined values from an object.

    Keywords

    Publisher

    published 1.0.03 years ago
    M
    Q
    P

    Description

    Common types, type guards and type checkers.

    Keywords

    Publisher

    published 4.2.0a month ago
    M
    Q
    P

    Description

    A minimalistic boilerplate to wait for Custom Elements, or libraries, definition

    Keywords

    Publisher

    published 1.0.2a year ago
    M
    Q
    P

    Description

    Check if value is defined

    Keywords

    Publisher

    published 0.1.16 years ago
    M
    Q
    P

    Description

    Clone of PHP's function 'defined'

    Keywords

    Publisher

    published 1.0.15 years ago
    M
    Q
    P

    Description

    Check if an identifier is defined

    Keywords

    Publisher

    published 1.0.06 years ago
    M
    Q
    P

    Description

    Safe chaining of object properties and functions using ES2015 Proxy.

    Keywords

    Publisher

    published 0.1.45 years ago
    M
    Q
    P

    Description

    Returns a new object without undefined object properties

    Keywords

    Publisher

    published 0.0.15 years ago
    M
    Q
    P