What do you want to save?
Add Code snippet
New code examples in category Other
-
Phoenix Logan 2022-03-27 18:45:26
find nearest element revit api
var view3d = RUtils.Get3dView(doc); ReferenceIntersector refIntersector = new ReferenceIntersector( new ElementCategoryFilter(BuiltInCategory.OST_Walls), FindReferenceTarget.Element, view3d ); var x = refIntersector.FindNearest(s... Add solution -
Awgiedawgie 2022-03-27 18:40:07
conditional-rendering-in-react-applications
// ... class App extends Component { // ... render() { let {isLoggedIn} = this.state; const renderAuthButton = () => { if (isLoggedIn) { return <button>Logout</button>; } else { return <button&g... Add solution -
Krish 2022-03-27 18:30:09
validar si un numero es par javascript map
// Return a new array where even numbers are multiplied by 2 let arr = [1, 2, 3, 4, 5, 6, 7] function consoleEven(arr) { let data = arr.map((num) => (num % 2 === 0 ? num * 2 : num * 1)) console.log(data) // [1, 4, 3, 8, 5, 12, 7] } // ? is... Add solution -
Awgiedawgie 2022-03-27 18:30:06
how to improve test coverage
There are many techniques I use to make my test coverage better -In my project we track test coverage with xray -As a team we first focus on each acceptence criteria making sure all have been covered -Depending on time I have and also priority and busine... Add solution -