37 packages found

M
Q
P

Description

Isomorphic, functional type-checking for Javascript

Keywords

Publisher

published 6.0.025 days 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.174 months ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.1a year ago
M
Q
P

Description

A utility function for extracting defined values from an object.

Keywords

Publisher

published 1.0.0a year 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 2.1.02 years ago
M
Q
P

Description

checks if your properties or values are defined

Keywords

Publisher

published 2.4.22 days ago
M
Q
P

Description

util for validation that object has defined props

Keywords

Publisher

published 1.2.23 years ago
M
Q
P

Description

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

Keywords

Publisher

published 1.0.14 years 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.15 years ago
M
Q
P

Description

2 functions that check if argument is undefined or null

Keywords

Publisher

published 1.0.28 months 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.1.02 years ago
M
Q
P

Description

Check if value is defined

Keywords

Publisher

published 0.1.14 years ago
M
Q
P

Description

Clone of PHP's function 'defined'

Keywords

Publisher

published 1.0.14 years ago
M
Q
P

Description

Safe chaining of object properties and functions using ES2015 Proxy.

Keywords

Publisher

published 0.1.44 years ago
M
Q
P

Description

Elvis operator functionality for JavaScript.

Keywords

Publisher

published 2.2.0a year ago
M
Q
P

Description

Check if an identifier is defined

Keywords

Publisher

published 1.0.04 years ago
M
Q
P

Description

A few handy javascript utilities for testing variables

Keywords

Publisher

published 0.0.1a year ago
M
Q
P

Description

Returns a new object without undefined object properties

Keywords

Publisher

published 0.0.14 years ago
M
Q
P

Description

check if javascript properties are defined (with typescript support)

Keywords

Publisher

published 1.0.35 months ago
M
Q
P

Description

definemodule6

Keywords

Publisher

published 1.0.03 months ago