Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Latest commit

 

History

History
65 lines (45 loc) · 1.56 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.56 KB

FindUp

GitHub release (latest by date) NPM release (latest) Wally release (latest)

Find an Instance by walking up ancestors.

local humanoid = FindUp(script, "Humanoid", {
    className = "Humanoid",
})

local roact = FindUp(script, "Roact", {
    className = "ModuleScript",
})

Installation

Add find-up to your wally.toml and run wally install

# wally.toml
[dependencies]
FindUp = "csqrl/[email protected]"
$ wally install

Install the @rbxts/find-up package using npm or yarn.

$ npm i @rbxts/find-up
$ yarn add @rbxts/find-up
$ pnpm i @rbxts/find-up

Documentation

Documentation can be found at https://csqrl.github.io/find-up.