0.1.1 • Published 2 years ago
@huequica/native_extensions v0.1.1
node_nativeExtensions
Summary
This package is huequica's original Native Classes Extension method pack.
- THIS PACKAGE IS NOT COMMING MAJOR RELEASE.
- Working is not support.
Install
$ yarn add @huequica/native_extensions
# or npm i @huequica/native_extensions
Usage
index.ts
import '@huequica/native_extensions';
import sample from './sample';
sample();
sample.ts
const sample = (): void => {
console.log(['hoge', 'fuga', 'piyo'].lastItemIs('piyo')); // -> true
};