New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@brazilian-utils/helper-is-last-char

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brazilian-utils/helper-is-last-char

Check if the index is the same as last index of the string

0.1.7
latest
Source
npm
Version published
Maintainers
3
Created
Source

@brazilian-utils/helper-is-last-char

Check if the index is the same as last index of the string.

Installation

# Yarn
yarn add @brazilian-utils/helper-is-last-char

# npm
npm install @brazilian-utils/helper-is-last-char --save

# UMD
<script type='text/javascript' src='https://unpkg.com/@brazilian-utils/helper-is-last-char/dist/index.umd.js'></script>

Usage

import isLastChar from '@brazilian-utils/helper-is-last-char';

isLastChar(2, '123'); // true
isLastChar(1, '123'); // false
isLastChar(3, '123'); // false

FAQs

Package last updated on 24 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts