@stdlib/assert-has-own-property
Test if an object has a specified property.
Found 312 results for stdassert
Test if an object has a specified property.
Test if a value is an array.
Return a function which tests if every element in an array passes a test condition.
Test if a value is a string.
Test if a value is a Uint8Array.
Test if a value is a Uint16Array.
Test if a value is a boolean.
Test if a value is a function.
Test if a value is a Float64Array.
Test if a value is a regular expression.
Test if a value is object-like.
Check if an environment is little endian.
Test if a value is a Buffer object.
Test if a value is a Uint32Array.
Check if an environment is big endian.
Test if a value is a plain object.
Test if a value is a regular expression string.
Test if a value is an object.
Test if a value is a Float32Array.
Test if a value is a number.
Test if a value is NaN.
Test if a value is an Int32Array.
Test if a value is a number having a nonnegative integer value.
Test if a value is a collection.
Test if an object's own property is enumerable.
Test if a value is a Uint8ClampedArray.
Test if a value is an Int16Array.
Test if a value is an Int8Array.
Test if a value is an arguments object.
Test if a value is an ArrayBuffer.
Test if a value is an Error object.
Test if a value is a number having a positive integer value.
Test if a value is a number having an integer value.
Test whether a value has in its prototype chain a specified constructor as a prototype property.
Test if a value is a number having a positive value.
Test if a value is a Complex64Array.
Test if a value is a complex number-like object.
Return a function which tests if every element in an array-like object passes a test condition.
Test if a value is a typed array.
Test if a value is a complex typed array.
Test if an array-like object supports the accessor (get/set) protocol.
Test if a value is a Complex128Array.
Test if a value is an array-like object of numbers.
Standard assertion utilities.
Test if a value is array-like.
Test if a value is an array-like object.
Test if a value is typed-array-like.
Test if a value is a probability.
Test if an array-like value contains a search value.
Test if a value is a number having a nonnegative value.
Test if a value is Node writable stream-like.
Test if a value is an array-like object containing only nonnegative integers.
Test if a value is an array of strings.
Test if a value is Node stream-like.
Test if a value is an array of probabilities that sum to one.
Check if the runtime is Node.js.
Check if the runtime is a web browser.
Test if a value is null.
Test if a value is a DataView.
Test if an object has a specified method name, either own or inherited.
Test if a value is an array-like object containing only integers.
Test if a value is a URI.
Test if a value is ndarray-like.
Test if a value is a semantic version string.
Test if a value is a string having an uppercase first character.
Test if a value is iterator-like.
Test if a value is an empty array.
Test if a value is undefined or null.
Test if a value is a gzip buffer.
Boolean indicating if the current process is running on Windows.
Test if an object has a specified property, either own or inherited.
Test if a value is a BooleanArray.
Test if a value is a BooleanArray.
Test if a value is an empty collection.
Test if two double-precision floating-point numbers are the same value.
Test if two arguments are the same value.
Test if a value is a BigInt.
Test if a value is an array-like object containing only functions.
Test if a value is a 2-dimensional ndarray-like object.
Test if a value is a parseable JSON string.
Test if an object has a specified method name.
Test if a value is an array of arrays.
Test if a value is an array-like object containing only positive integers.
Test if a value is a Date object.
Test for deep equality between two values.
Test if a value is a relative path.
Test if an object's prototype chain contains a provided prototype.
Test if a value is an absolute path.
Test if a value is undefined.
Test whether a value is a localhost hostname.
Test if two arguments are both Float64Arrays and have the same values.
Test if two arguments are both generic arrays and have the same values.
Test if a value corresponds to a leap year in the Gregorian calendar.
Test if a value is a 1-dimensional ndarray-like object.
Test if a value is a JavaScript primitive.
Test if a value is a Slice object.
Test whether a character belongs to the ASCII character set and whether this is true for all characters in a provided string.
Test if a value is iterable-like.
Test if a value is a complex typed array.
Test if two arguments are both Float32Arrays and have the same values.
Test if a value is an array-like object containing only probabilities.
Test if a value is a Complex128Array.
Test if a value is a 2-dimensional ndarray-like object having equal dimensions.
Test if a value is a Complex64Array.
Test if a value is a string in kebab case.
Test if two arguments are both Complex128Arrays and have the same values.
Test if two arguments are both Complex64Arrays and have the same values.
Test if a value is a MultiSlice object.
Test if a value is a domain name.
Test if two single-precision floating-point numbers are the same value.
Test if a value is a number having a negative integer value.
Test if a value is a numeric array.
Test if a value is a 64-bit complex number.
Test if two single-precision floating-point numbers are the same value.
Test if a value is equal to positive zero.
Test if a value is a number having a finite positive value.
Test if an object's own property is non-enumerable.
Test if a value is an even number.
Test if a value is a symbol.
Test if a value is a 128-bit complex number.
Boolean indicating if the current process is running on Darwin.
Test if a value is an infinite number.
Test if a value is equal to negative zero.
Test if a value is a JavaScript boxed primitive.
Test if a value is an array-like object containing only positive numbers.
Test if a value is a finite number.
Test whether a string contains only hexadecimal digits.
Test if a value is an alphagram.
Test whether a string contains only alphanumeric characters.
Test if a value is a TypeError object.
Test if a value is an array-like object supporting the accessor (get/set) protocol.
Test if a value is an array-like object containing only plain objects.
Test if a value is a number having a nonpositive integer value.
Test if a value is between two values.
Test if a value is a relative path.
Test if a value is a class.
Test if a value is a BigInt64Array.
Test if an object's own property is writable.
Test if a value is Node duplex stream-like.
Return a function which tests if every element in a typed array passes a test condition.
Test whether a string contains only numeric digits.
Test if a value is a valid array length.
Test if two arguments are the same value.
Test if a value is a UNC path.
Test if a value is a RangeError object.
Test if a value is a square triangular number.
Test if an object-like value contains a circular reference.
Test if a value is a native function.
Test if a value is Node transform stream-like.
Test if a value is an uppercase string.
Test if a value is an array-like object containing only falsy values.
Test whether a value is an absolute URI.
Test if a value is PRNG-like.
Test if a value is an ndarray-like object containing single-precision floating-point numbers.
Test if a value is an email address.
Test if a value is an empty object.
Test if a value is a number having a negative value.
Test if a value is a number having a safe integer value.
Test if an object's own or inherited property is non-configurable.
Test if a value is a SharedArrayBuffer.
Test if a value is a prime number.
Test if a value is a BigUint64Array.
Test if a value is a symmetric matrix.
Test if a value is a skew-symmetric matrix.
Test if a value is an array-like object containing only NaN values.
Test if two double-precision floating-point numbers are the same value.
Test if a value is a SyntaxError object.
Test if a value is a skew-persymmetric matrix.
Test if a value is a ReferenceError object.
Test if a value is an empty string.
Test if a value is a startcase string.
Test if a value is Node readable stream-like.
Test if an object's own property is read-only.
Test if a value is falsy.
Test if a value is a number having a nonpositive value.
Test whether an object contains a nested key path.
Test if a value is a duration string.
Test if an object's own or inherited property is writable.
Test if a value is an alphagram.
Test if a value is named typed tuple-like.
Test if a value is complex-typed-array-like.
Test if a value is an anagram.
Test if a value is an odd number.
Test if a value is an array-like object containing only nonpositive integers.
Test if a value is an array-like object containing only truthy values.
Test if a value is a binary string.
Test if a value is an array-like object where every element is between two values.
Test if a value is a 1-dimensional ndarray-like object containing single-precision floating-point numbers.
Test if a value is a plain object containing a circular reference.
Test if a value is a binary string.
Test if a value is a 1-dimensional ndarray-like object containing double-precision floating-point numbers.
Test if a value is truthy.
Check if the runtime is Electron.
Test if two arguments are both single-precision complex floating-point numbers and have the same value.
Test if a value is a square number.
Test whether a value is an absolute HTTP(S) URI.
Test if a value is an array-like object containing only finite numbers.
Test whether a value is a relative URI.
Test if a value is a triangular number.
Test if a value is an array containing a circular reference.
Test whether an object contains a nested key path, either own or inherited.
Test if a value is an array-like object containing only safe integers.
Test whether a string matches a Node.js built-in module name.
Test if a value is an anagram.
Test if a value is an ndarray-like object containing double-precision floating-point numbers.
Test if a value is a centrosymmetric matrix.
Test if a value is an array-like object containing only Date objects.
Test if a value is a 1-dimensional ndarray-like object containing single-precision complex floating-point numbers.
Test if two arguments have the same native class.
Test if an object's own property is non-configurable.
Test if a value is a 64-bit or 128-bit complex number.
Test whether a string contains only alphanumeric characters.
Test if a value is a blank string.
Test if a value is a persymmetric matrix.
Test if a value is an array-like object containing only symbols.
Test if a value is a skew-centrosymmetric matrix.
Test if a value is a 2-dimensional ndarray-like object containing single-precision floating-point numbers.
Test if a value is an absolute path.
Test if a value is a cube number.
Test if a value is a lowercase string.
Test whether a string contains only white space characters.
Test if an object has an inherited property.
Test whether a string contains only numeric digits.
Test whether a string contains only white space characters.
Assertion utility tools.
Test if a value is a string in Pascal case.
Test if a value is the current year.
Test if an object's own property is configurable.
Test if a value is a string having an uppercase first character.
Test if a value is a blank string.
Test if a value is a generator object.
Test if a value is an `ArrayBuffer` view.
Test if an object's own property is write-only.
Test if a value is a valid typed array length.
Test if a value is a non-symmetric matrix.
Test if an object's own or inherited property is write-only.
Test if a value is a 1-dimensional ndarray-like object containing double-precision complex floating-point numbers.
Test if a value is a string in kebab case.
Test if a value is a string in snake case.
Test if a value corresponds to a leap year in the Gregorian calendar.
Test if a value is a ragged nested array
Test if an object's own or inherited property has an accessor descriptor.
Test if two values are both Date objects corresponding to the same date and time.
Check if the runtime is the Electron renderer process.
Test if a value is an array-like object containing only negative numbers.
Test if an object's own or inherited property is enumerable.
Test if a value is a 2-dimensional ndarray-like object containing double-precision complex floating-point numbers.
Test if an object's own property is readable and writable.
Test if a value is a semantic version string.
Test if a value is the current year.