Skip to content

isZeroOid ​

Test if this Oid is all zeros.

Signature ​

ts
function isZeroOid(value: string): boolean;

Parameters ​

  • valuerequired · string

    String to check if is zero Oid.

Returns ​

  • boolean

    Returns true if the string is zero Oid.

Examples ​

ts
import { zeroOid, isZeroOid } from 'es-git';

console.assert(isZeroOid(zeroOid());

Released under the MIT License.