UNPKG

@stryke/helpers

Version:

A package containing miscellaneous helper functions that are used across many different Storm Software projects.

17 lines (16 loc) 315 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.once = once; exports.safeFunctionCast = safeFunctionCast; function safeFunctionCast(n) { return n; } function once(n) { let e, t = !1; return function (...u) { return t || (e = n.apply(this, u), t = !0), e; }; }